473,626 Members | 3,265 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XP-style button on VB6 form

1 New Member
The Button that glows orange when mouse moved over it
Also i wanna include it in message box
Please help
Aug 23 '07 #1
9 14973
slapshock
57 New Member
download the jewelbutton.ocx in the internet...that is the component that u wanted....
then after downloading, add it to your components in vb6.0
Aug 24 '07 #2
Killer42
8,435 Recognized Expert Expert
download the jewelbutton.ocx in the internet...that is the component that u wanted....
then after downloading, add it to your components in vb6.0
Of course, you could just do it yourself by watching the MouseMove event. Turn on the "glow" when the mouse moves over the button, turn it off as soon as you detect the mouse outside of the button.
Aug 24 '07 #3
vinci
62 New Member
Of course, you could just do it yourself by watching the MouseMove event. Turn on the "glow" when the mouse moves over the button, turn it off as soon as you detect the mouse outside of the button.
but isnt it that buttons in VB6 are not that graphical.. what i mean is that they are colored gray.. it is like buttons from windows 98... i think wat he want is to have buttons the same as windows XP does...

if it is posible in VB6 to accomplish it thru code, could u show me how?

tnx killer42...
Aug 24 '07 #4
pureenhanoi
175 New Member
download the jewelbutton.ocx in the internet...that is the component that u wanted....
then after downloading, add it to your components in vb6.0
Look at this thread http://www.thescripts.com/forum/thread693872.html.There may have some helpfull
Aug 24 '07 #5
Killer42
8,435 Recognized Expert Expert
Look at this thread ...
Thanks. I was thinking of suggesting that, but couldn't remember where it was. Duh! It's not even a week since I put it in the Articles area, and already I forgot it was there. :(

I should point out that while I edited the post about using manifest when I copied it to the articles area, I haven't tried out the idea. I'll be curious to find out a bit more about it.
Aug 24 '07 #6
Killer42
8,435 Recognized Expert Expert
Correction to an earlier post in this thread. You can change the look of a button in VB6 if you first set the Style property to "1 - Graphical". Then you can change the colour, the picture normally displayed, and the picture displayed while the button is "down".

Note, it looks as though Style can only be set at design time.
Aug 24 '07 #7
Killer42
8,435 Recognized Expert Expert
Here's a little sample. Just add this frm file to a new project. (Don't forget to set it as the startup object).

The reason for the "If ... End If" logic is that the original code, which just set the colour every time the event was triggered, made the button flicker in a bit of an ugly way.
Attached Files
File Type: zip form1.zip (622 Bytes, 1796 views)
Aug 24 '07 #8
Ali Rizwan
925 Contributor
Here's a little sample. Just add this frm file to a new project. (Don't forget to set it as the startup object).

The reason for the "If ... End If" logic is that the original code, which just set the colour every time the event was triggered, made the button flicker in a bit of an ugly way.
Killer what is this this ll not sute you this is like kiddy.
Aug 27 '07 #9
Killer42
8,435 Recognized Expert Expert
Killer what is this this ll not sute you this is like kiddy.
Um... what? I didn't understand that.
Aug 27 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

7
18593
by: Dave | last post by:
I created a program using VB6 under WIN 98. The program uses an ado database. When I use the package and deployment program in VB6 on this program and then install it on a machine with XP Pro on it, I get the Provider can not be found error.. Any Ideas....I Hope
11
12243
by: PC | last post by:
It's obvious, that Windows XP has a Java 2 VM (including the SWING-module), because we can all run Java 2 applets in Internet Explorer. But what about the support for Java 2 Applications? I would just like to run an application packed in a JAR-file on Windows XP: JavaProg.jar (Java Archive Resource). But without installing a SDK, i don't have an association of the JAR-file to be started with JAVAW, or the JAVA command to use 'java -jar...
5
1166
by: Shay | last post by:
Hello Everyone , i am trying to learn ASP 3.0 and i have XP Home and i know XP Home does not support ASP or IIS , so i have to upgrade to XP Pro , but i have never done an upgrade before . So all i need is to plug the XP Pro cd and let it run . Does it gonna harm the exicting drivers and present setting.
22
2536
by: The Road To Utopia | last post by:
Here's one for the trolls...a common jibe from them is setting up audio/video hardware under linux. Ok, true story: at work today, someone asked me if I could tell him why his XP Home would play the video from a DVD but not the audio. He had been searching for an answer for days on support.microsoft.com but found none. I suggested Google and Gateway. Gateway had nothing, but sure enough, search for *XP DVD no sound* on Google and...
1
10818
by: richard turner | last post by:
Access 97 is running on an XP Home machine pulling up a database on an XP Pro machine. The XP Home machine has 512 megs of RAM, the XP Pro machine has 768 megs. Access 97 runs fine on both machines. However, when I recently tried to add another 256 megs of RAM to the XP Home machine, I can't even load Access. I get an "out of memory" error, "close unneeded programs and try again". The rest of my Office 97 apps work fine with the extra...
1
6519
by: Scott Chang | last post by:
Hi all, 1)I used Microsoft Visual C++.NET (2002) on my Windows Me and Windows XP Home Edition for the last one and half years. 4-5 weeks ago, I upgraded my PC from Windows XP Home Edition to Windows XP Professional. Recently I tried to install my Microsoft Visual C++.NET (2002) on the new Windows XP Professional Operating System and got the fellowing message: Microsoft Visual C++.NET Setup 1 Windows Component Update
4
1659
by: Ted Duross | last post by:
Hi, I would like to install VS 2003 on a computer with XP Home. Original documentation says I should expect limited functionality ( no ASP.NET Web applications or ASP.NET XML Web service ). Is this still true if Service Pack 2 is installed? Thanks, Ted
4
10766
by: Bill | last post by:
Hi, I would be grateful if someone could clarify my rather confused ideas of the 10 connection limit on XP/2000 when its being used as a server. (I realise that XP is really a client op sys with limited server capability, I am also aware you can kludge the number to 40, but assume I do not want to do that). As I understand it XP Pro will support 10 simultaneous inbound (SYN) connections (5 for XP Home). My confusion arises as to what...
2
1716
by: 13Rockes | last post by:
I am in the process of writing programs using VB6 in XP Pro. However, I am thinking about starting over using VB2005 as my company is migrating to Vista. Two questions... What kinds of problems will I have installing and running my VB6 app under Vista? If I develop VB2005 apps under XP, what kinds of problems will I have
10
1804
by: nik | last post by:
Hi, I've compiled my application on my vista machine, and it won't run at all on my xp machine. In the windows error report I get Exception code; 0xe0434f4d. I searched for that exception, but didn't see anything related to my problem The xp machine does have vb6 installed on it, could that be an issue? What reasons and solutions for this problem?
0
8196
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8705
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8364
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5574
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2625
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1808
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.